package com.tms.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @author ozj
 */
public class BillExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "code", orderNum = "1")
    private String code;

    @Excel(name = "name", orderNum = "2")
    private String name;

    @Excel(name = "family", orderNum = "3")
    private String family;

    @Excel(name = "count", orderNum = "4")
    private int count;

    @Excel(name = "model", orderNum = "5")
    private String model;

    @Excel(name = "partNo", orderNum = "6")
    private String partNo;

    @Excel(name = "usedFor", orderNum = "7")
    private String usedFor;

    @Excel(name = "upl", orderNum = "8")
    private int upl;

    @Excel(name = "pmPeriod", orderNum = "9")
    private int pmPeriod;

    @Excel(name = "remark", orderNum = "10")
    private String remark;

    @Excel(name = "location", orderNum = "11")
    private String location;

    public BillExcel() {
    }

    public BillExcel(String code, String name, String family, int count, String model, String partNo, String usedFor,
                     int upl, int pmPeriod, String remark, String location) {
        this.code = code;
        this.name = name;
        this.family = family;
        this.count = count;
        this.model = model;
        this.partNo = partNo;
        this.usedFor = usedFor;
        this.upl = upl;
        this.pmPeriod = pmPeriod;
        this.remark = remark;
        this.location = location;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFamily() {
        return family;
    }

    public void setFamily(String family) {
        this.family = family;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getPartNo() {
        return partNo;
    }

    public void setPartNo(String partNo) {
        this.partNo = partNo;
    }

    public String getUsedFor() {
        return usedFor;
    }

    public void setUsedFor(String usedFor) {
        this.usedFor = usedFor;
    }

    public int getUpl() {
        return upl;
    }

    public void setUpl(int upl) {
        this.upl = upl;
    }

    public int getPmPeriod() {
        return pmPeriod;
    }

    public void setPmPeriod(int pmPeriod) {
        this.pmPeriod = pmPeriod;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "BillExcel{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", family='" + family + '\'' +
                ", count=" + count +
                ", model='" + model + '\'' +
                ", partNo='" + partNo + '\'' +
                ", usedFor='" + usedFor + '\'' +
                ", upl=" + upl +
                ", pmPeriod=" + pmPeriod +
                ", remark='" + remark + '\'' +
                ", location='" + location + '\'' +
                '}';
    }
}
